![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
Incorrect SORTED BY information might be stored in the header of a SAS data set. Subsequent queries that use the incorrect information might result in incorrect results. This issue occurs when the following conditions exist in the SQL procedure query:
The SORTED BY information is set to match what is listed in the GROUP BY clause, whereas the actual sort order of the data is based on the order of the variables in the SELECT statement.
The only workaround is to break the query into multiple steps.
Product Family | Product | System | SAS Release | |
Reported | Fixed* | |||
SAS System | Base SAS | z/OS | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | |||
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | |||
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | |||
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | |||
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.4 TS1M0 | ||
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |||
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |||
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |||
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |||
Microsoft Windows Server 2008 | 9.2 TS2M3 | |||
Microsoft Windows Server 2008 R2 | 9.2 TS2M3 | 9.4 TS1M0 | ||
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.4 TS1M0 | ||
Microsoft Windows XP Professional | 9.2 TS2M3 | |||
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |||
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.4 TS1M0 | ||
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |||
Windows 7 Home Premium x64 | 9.2 TS2M3 | |||
Windows 7 Professional 32 bit | 9.2 TS2M3 | |||
Windows 7 Professional x64 | 9.2 TS2M3 | 9.4 TS1M0 | ||
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |||
Windows 7 Ultimate x64 | 9.2 TS2M3 | |||
Windows Vista | 9.2 TS2M3 | |||
Windows Vista for x64 | 9.2 TS2M3 | |||
64-bit Enabled AIX | 9.2 TS2M3 | 9.4 TS1M0 | ||
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.4 TS1M0 | ||
64-bit Enabled Solaris | 9.2 TS2M3 | 9.4 TS1M0 | ||
HP-UX IPF | 9.2 TS2M3 | 9.4 TS1M0 | ||
Linux | 9.2 TS2M3 | 9.4 TS1M0 | ||
Linux for x64 | 9.2 TS2M3 | 9.4 TS1M0 | ||
OpenVMS on HP Integrity | 9.2 TS2M3 | 9.4 TS1M0 | ||
Solaris for x64 | 9.2 TS2M3 | 9.4 TS1M0 |